package com.raos.example.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 导出服务接口
 *
 * @author raos
 * @email 991207823@qq.com
 * @date 2023-08-26 9:29
 */
public interface ImportService {

    /***
     * 同步导入
     * @param file
     * @throws IOException
     */
    void importExcel(MultipartFile file) throws IOException;

    /***
     * 异步导入
     * @param file
     * @throws IOException
     */
    void importExcelAsync(MultipartFile file) throws IOException;

}
